#include <iostream>
#include <string>
using namespace std;void r(string&t,char*s,char*d){string c(s);int p=t.find(c);while(p!=string::npos){t.erase(p,c.size());t.insert(p,d);p=t.find(c);}}int main(){char c[100];cin.getline(c,100);string s=c;r(s,"%20"," ");r(s,"%21","!");r(s,"%24","$");r(s,"%25","%");r(s,"%28","(");r(s,"%29",")");r(s,"%2a","*");cout<<s<<endl;}
